package com.flyco.modules.stm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.flyco.modules.stm.entity.StmChannelStoreRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 渠道供应商关系表
 * @Author: flyco
 * @Date:   2023-06-21
 * @Version: V1.0
 */
@Repository
public interface StmChannelStoreRelationMapper extends BaseMapper<StmChannelStoreRelation> {

   public Integer deleteByStoreId(@Param("storeId") Long storeId);
   public Integer updateStatusByChannelId(@Param("status") Integer status,@Param("channelId") Integer channelId);
   void deleteByStoreIdAndChannelId(@Param("storeId") Long storeId,@Param("channelId") Integer channelId);
}
